//
//  Common.swift
//  webo
//
//  Created by apple on 2016/11/15.
//  Copyright © 2016年 apple. All rights reserved.
//

import UIKit

//第三方登入信息

let client_id = "3011133703"
let redirect_uri = "http://www.itheima.com"

let client_secret = "9cf843ad7cd5ba561771a86b77bcaa81"

//登入的通知
let chooseNotificationLoginOn = "chooseNotificationLoginOn"
let visitNetworkFaile = "visitNetworkFaile"
//屏幕尺寸
let ScreenWidth = UIScreen.main.bounds.width
let ScreenHeight = UIScreen.main.bounds.height
let ScreenSize = UIScreen.main.bounds.size


let naviBarHeight:CGFloat = 64


let sharedDateformata = DateFormatter()
let reguE = try! NSRegularExpression(pattern: "\\[.*?\\]", options: [])

let atSomeregex = try! NSRegularExpression(pattern: "@\\w+", options: [])
let topicRegex = try! NSRegularExpression(pattern: "#.*?#", options: [])
let urlRegex = try! NSRegularExpression(pattern: "(http|ftp|https):\\/\\/[\\w\\-_]+(\\.[\\w\\-_]+)+([\\w\\-\\.,@?^=%&amp;:/~\\+#]*[\\w\\-\\@?^=%&amp;/~\\+#])?", options: [])


